package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng123
 * @since 2018-06-08
 */
@TableName("nb_djg")
public class Djg extends Model<Djg> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 姓名
     */
    @TableField("g_name")
    private String gName;
    /**
     * 代码
     */
    @TableField("g_dm")
    private String gDm;
    /**
     * 变动日期
     */
    @TableField("g_date")
    private Date gDate;
    /**
     * 变动股数
     */
    @TableField("g_bdgs")
    private Double gBdgs;
    /**
     * 成交均价
     */
    @TableField("g_avg_price")
    private Double gAvgPrice;
    /**
     * 变动后股数
     */
    @TableField("g_bdhgs")
    private Double gBdhgs;
    /**
     * 与董监高关系
     */
    @TableField("g_djggx")
    private String gDjggx;
    /**
     * 变动原因
     */
    @TableField("g_bdtype")
    private String gBdtype;
    /**
     * 变动金额(万)
     */
    @TableField("g_bdmoney")
    private Double gBdmoney;
    /**
     * 职位
     */
    @TableField("g_job")
    private String gJob;
    
    @TableField("g_gptype")
    private String gPtype;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getgName() {
        return gName;
    }

    public void setgName(String gName) {
        this.gName = gName;
    }

    public String getgDm() {
        return gDm;
    }

    public void setgDm(String gDm) {
        this.gDm = gDm;
    }

    public Date getgDate() {
        return gDate;
    }

    public void setgDate(Date gDate) {
        this.gDate = gDate;
    }

    public Double getgBdgs() {
        return gBdgs;
    }

    public void setgBdgs(Double gBdgs) {
        this.gBdgs = gBdgs;
    }

    public Double getgAvgPrice() {
        return gAvgPrice;
    }

    public void setgAvgPrice(Double gAvgPrice) {
        this.gAvgPrice = gAvgPrice;
    }

    public Double getgBdhgs() {
        return gBdhgs;
    }

    public void setgBdhgs(Double gBdhgs) {
        this.gBdhgs = gBdhgs;
    }

    public String getgDjggx() {
        return gDjggx;
    }

    public void setgDjggx(String gDjggx) {
        this.gDjggx = gDjggx;
    }

    public String getgBdtype() {
        return gBdtype;
    }

    public void setgBdtype(String gBdtype) {
        this.gBdtype = gBdtype;
    }

    public Double getgBdmoney() {
        return gBdmoney;
    }

    public void setgBdmoney(Double gBdmoney) {
        this.gBdmoney = gBdmoney;
    }

    public String getgJob() {
        return gJob;
    }

    public void setgJob(String gJob) {
        this.gJob = gJob;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
    
    

    public String getgPtype() {
		return gPtype;
	}

	public void setgPtype(String gPtype) {
		this.gPtype = gPtype;
	}

	@Override
    public String toString() {
        return "Djg{" +
        "id=" + id +
        ", gName=" + gName +
        ", gDm=" + gDm +
        ", gDate=" + gDate +
        ", gBdgs=" + gBdgs +
        ", gAvgPrice=" + gAvgPrice +
        ", gBdhgs=" + gBdhgs +
        ", gDjggx=" + gDjggx +
        ", gBdtype=" + gBdtype +
        ", gBdmoney=" + gBdmoney +
        ", gJob=" + gJob +
        "}";
    }
}
